package cn.stylefeng.guns.modular.bulletin.entity;

import cn.stylefeng.guns.modular.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * IEO记录
 */
@TableName("com_subscribe_records")
@Data
@Accessors(chain = true)
public class SubscribeRecords implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "records_id",type = IdType.AUTO)
    private Long recordsId;

    //uid
    @TableField("uid")
    private Long uid;
    //时间
    @TableField(value = "subscription_time", fill = FieldFill.INSERT)
    private Date subscriptionTime;

    //支付币种
    @TableField("payment_currency")
    private String paymentCurrency;

    //支付金额
    @TableField("payment_amount")
    private BigDecimal paymentAmount;

    //申购币种
    @TableField("subscription_currency_name")
    private String subscriptionCurrencyName;

    //数量
    @TableField("subscription_currency_amount")
    private BigDecimal subscriptionCurrencyAmount;


    //中签数量
    private BigDecimal luckyCurrencyAmount;

    //状态
    @TableField("status")
    private String status;
    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;
}
